﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJ.EventBus.HornedSerpent.Transport.Abstractions;


public class EventBusTransportLog(string reason, EventBusTransportLogType type)
{
    public string Reason { get; set; } = reason;

    public EventBusTransportLogType Type { get; set; } = type;
}

public enum EventBusTransportLogType
{
    //Kafka
    ConsumeError,
    ConsumeRetries,
    ServerConnError,
}